package com.ruoyi.finance.service;

import java.util.List;
import com.ruoyi.finance.domain.TFreightBillInfo;

/**
 * 运费账单Service接口
 * 
 * @author ruoyi
 * @date 2024-05-16
 */
public interface ITFreightBillInfoService 
{
    /**
     * 查询运费账单
     * 
     * @param freightBillId 运费账单主键
     * @return 运费账单
     */
    public TFreightBillInfo selectTFreightBillInfoByFreightBillId(Long freightBillId);

    /**
     * 查询运费账单列表
     * 
     * @param tFreightBillInfo 运费账单
     * @return 运费账单集合
     */
    public List<TFreightBillInfo> selectTFreightBillInfoList(TFreightBillInfo tFreightBillInfo);

    /**
     * 新增运费账单
     * 
     * @param tFreightBillInfo 运费账单
     * @return 结果
     */
    public int insertTFreightBillInfo(TFreightBillInfo tFreightBillInfo);

    /**
     * 修改运费账单
     * 
     * @param tFreightBillInfo 运费账单
     * @return 结果
     */
    public int updateTFreightBillInfo(TFreightBillInfo tFreightBillInfo);

    /**
     * 批量删除运费账单
     * 
     * @param freightBillIds 需要删除的运费账单主键集合
     * @return 结果
     */
    public int deleteTFreightBillInfoByFreightBillIds(Long[] freightBillIds);

    /**
     * 删除运费账单信息
     * 
     * @param freightBillId 运费账单主键
     * @return 结果
     */
    public int deleteTFreightBillInfoByFreightBillId(Long freightBillId);

    /**
     * 查询运费账单ID
     *
     * @param freightBillNumber 工资单号
     * @return 结果
     */
    public Long selectFreightBillIdByFreightBillNumber(String freightBillNumber);

}
